﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <title>@ViewBag.Title 折宝个人博客</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="/css/base.css" rel="stylesheet">
    <link href="/css/index.css" rel="stylesheet">
    <link href="/css/m.css" rel="stylesheet">
    @RenderSection("header", false)
    <!--[if lt IE 9]>
    <script src="js/modernizr.js"></script>
    <![endif]-->
    <script>
        window.onload = function () {
            var oH2 = document.getElementsByTagName("h2")[0];
            var oUl = document.getElementsByTagName("ul")[0];
            oH2.onclick = function () {
                var style = oUl.style;
                style.display = style.display == "block" ? "none" : "block";
                oH2.className = style.display == "block" ? "open" : ""
            }
        }
    </script>
</head>
<body>
    <header>
        <div class="tophead">
            <div class="logo"><a href="/">折宝个人博客</a></div>
            <div id="mnav">
                <h2><span class="navicon"></span></h2>
                <ul>
                    <li><a href="/">网站首页</a></li>
                </ul>
            </div>
            <nav class="topnav" id="topnav">
                <ul>
                    <li><a href="/">网站首页</a></li>
                </ul>
            </nav>
        </div>
    </header>
    <article>
        @RenderBody()
        <aside>
            @Html.Partial("~/Views/Shared/_SideBar.cshtml")
        </aside>
    </article>
   
    <footer>
        <p>Manage by <a href="/">折宝个人博客</a></p>
    </footer>
    <script src="/js/nav.js"></script>
</body>
</html>
